import {createRouter, createWebHashHistory} from 'vue-router'
import WeChatFriends from "../views/WeChatFriends/WeChatFriends.vue";
import Clue from "../views/Clue/Clue.vue";
import Client from "../views/Client/Client.vue";

const routes = [
    {
        path:'/',
        redirect:"/WeChatFriends"
    },
    {
        path: '/WeChatFriends',
        component: WeChatFriends
    },
    {
        path: '/Clue',
        component: Clue
    },
    {
        path: '/Client',
        component: Client
    },
]

// 创建路由对象
const router = createRouter({
    history: createWebHashHistory(),
    routes
})
export default router;